home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / gt_power / gth035.zip / AUTOEXEC.HLP < prev    next >
Text File  |  1990-08-10  |  5KB  |  133 lines

  1.  
  2. ╔═════════╦════════════════════════════════════════════════════════════
  3. ║ GT-HELP ║ \AUTOEXEC.BAT - configuring it for GT 15.50
  4. ╚═════════╩════════════════════════════════════════════════════════════
  5.  
  6.  
  7.     The AUTOEXEC.BAT file is executed by DOS whenever your system is
  8.     restarted. It is therefore a convenient place for executing commands
  9.     that set your machine into a known state prior to starting GT.
  10.  
  11.     In most cases you will also use it, directly or indirectly, to start GT
  12.     in host mode.  This ensures that your bulletin board will recover in
  13.     the event of a power failure or other recoverable problem.
  14.  
  15.     The AUTOEXEC.BAT file must be in the root directory of your boot drive
  16.     (usually drive C).  If you specified the boot drive correctly when
  17.     GT-Help requested it, that file will presently be available in the
  18.     other editor window for you to examine and make any necessary changes.
  19.  
  20.  
  21.  
  22. ┌──────────────────────────────┐
  23. │ Suggestions for AUTOEXEC.BAT │
  24. └──────────────────────────────┘
  25.  
  26.     a)  Define the DOS environment variable GTPATH, eg
  27.  
  28.             SET GTPATH=C:\GT
  29.  
  30.         This must specify the directory where you installed the main GT
  31.         files.
  32.  
  33.         GT, and many GT companion programs including GT-Help, look for this
  34.         environment variable as they start.
  35.  
  36.  
  37.  
  38.     b)  Ensure the DOS PATH contains the GTPATH directory.
  39.  
  40.         There will probably already be a statement
  41.  
  42.             SET PATH= ....
  43.  
  44.         in autoexec.bat - just add ;C:\GT or whatever (ie, a semicolon
  45.         followed by the full pathname as defined for GTPATH).
  46.  
  47.         For example:
  48.  
  49.             SET PATH=C:\DOS;C:\BIN;C:\GT
  50.  
  51.  
  52.     c)  Make DOORMAN resident.
  53.  
  54.         Doorman is a separate program from Chris Smith, which ensures that
  55.         your machine gets rebooted if carrier is lost while outside GT,
  56.         or if a caller stays too long in a door.
  57.  
  58.         Note however that DOORMAN only loads the program, making it
  59.         resident but leaving it dormant.  It usually becomes active when a
  60.         CHEKTIME command is executed, usually done towards the beginning of
  61.         a door or external protocol batch file.
  62.  
  63.         Note:   If multitasking, eg with DV, rebooting may not be what you
  64.                 want to do (work in other partitions might get lost).  I
  65.                 believe there are other programs around which just kill
  66.                 GT (allowing it to restart via its controlling batch file)
  67.                 but have no details as yet.
  68.  
  69.     d)  Consider how you will make GT restart in host mode so as to recover
  70.         from a power failure or other recoverable problem which causes a
  71.         reboot - including loss of carrier.  Details below.
  72.  
  73.  
  74.     e)  If you are intending to running multiple copies of GT, or run GT
  75.         concurrently with Sysop Tools, MMR or other programs, you should
  76.         include the SHARE command.
  77.  
  78.  
  79. ┌───────────────────┐
  80. │ Possible problems │
  81. └───────────────────┘
  82.  
  83.     If an Out of Environment message occurs when autoexec.bat runs, you
  84.     need to increase the environment space - see CONFIG.SYS.
  85.  
  86.  
  87. ┌─────────────────┐
  88. │ Autostarting GT │
  89. └─────────────────┘
  90.  
  91.     The GT15HOST.DOC file suggests a procedure involving swapping
  92.     AUTOEXEC.BAT files for power recovery purposes.
  93.  
  94.     If you prefer a simpler arrangement, and your machine is *mostly* used
  95.     for running GT in host mode, just add these statements to the end of
  96.     AUTOEXEC.BAT :
  97.  
  98.             GTH /W5:HOST
  99.  
  100.     This presents a popup giving 5 seconds to quit to DOS on the occasions
  101.     when you do NOT wish to boot into GT :
  102.  
  103.     a)      If you allow the delay to expire, GTH will swap itself out of
  104.             memory and ask DOS to execute your HOST.BAT file.
  105.  
  106.     b)      If you press the SPACE bar, the HOST.BAT file will be executed
  107.             even sooner.
  108.  
  109.     c)      If you press escape, GTH will give you a menu with choices of :
  110.  
  111.                 returning to DOS
  112.                 executing GT in host mode       (via HOST.BAT)
  113.                 executing GT in terminal mode   (via GT.BAT)
  114.                 executing Sysop Tools           (ST.EXE somewhere in DOS path)
  115.                 executing MMR                   (MMR.EXE somewhere in DOS path)
  116.  
  117.  
  118.     The delay time is adjustable, ie /W3 = 3seconds, /W12 = 12 seconds.
  119.     You can also have another program booted instead.  For instance, if
  120.     you run GT under Desqview and have created a DV.BAT file to control it,
  121.     then the command could be :
  122.  
  123.         GTH /W5:DV
  124.  
  125.  
  126. ┌──────────────────────┐
  127. │ Editing AUTOEXEC.BAT │
  128. └──────────────────────┘
  129.  
  130.     AUTOEXEC.BAT should presently be in the other editor window for you to
  131.     examine and make any necessary changes.
  132.  
  133.